home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / fx / bh_stone_lite.tik < prev    next >
Encoding:
Text File  |  2002-10-21  |  1.7 KB  |  82 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0
  5.     path models/fx/dummy
  6.     skelmodel dummy2.skd
  7. }
  8.  
  9. init
  10. {
  11.     client
  12.     {
  13.         //cache some stuff used in this effect
  14.         cache bhole_stone.spr // cache the bullet hole shader
  15.         cache stonechip.spr
  16.         cache smokegrenade.spr
  17.  
  18.         // chunky chunks of chunky stuff
  19.         sfx originspawn
  20.         (
  21.             model stonechip.spr
  22.             spawnrange 1536
  23.             spritegridlighting
  24.             alpha 0.75
  25.             angles 0 0 crandom 180
  26.             avelocity 0 0 crandom 180
  27.             offsetalongaxis random 4 crandom 3 crandom 3
  28.             count 1
  29.             velocity 240
  30.             randvelaxis random 300 crandom 400 crandom 400
  31.             accel 0 0 -800
  32.             life 1.6 0.8
  33.             scalemin 0.1
  34.             scalemax 0.25
  35.             fadedelay 0.6
  36.             collision
  37. //            bouncefactor 0.2
  38. //            bouncesound snd_bh_debris_stone
  39.         )
  40.  
  41.         sfx originspawn
  42.         (
  43.             model smokegrenade.spr
  44.             cone 16 10
  45.             count 2
  46.             scalemin .2
  47.             scalemax .35
  48.             scalerate 1
  49. //            radialvelocity 128 0 16
  50.             randvelaxis random 64 crandom 18 crandom 18
  51.             friction 2
  52.             life .45 .25
  53.             alpha .4
  54.             fade
  55.             color .7 .7 .7
  56.             varycolor
  57.             spritegridlighting
  58.         )
  59.  
  60.         // first bit of lingering smoke
  61. //        sfx originspawn
  62. //        (
  63. //            volumetric
  64. //            model bulletimpact    // sets the type of smoke
  65. //            life 10        // amount of smoke
  66. //            scale 1.5    // radius
  67. //            alpha 0.3    // density
  68. //            color 0.7 0.7 0.7    // RBG color of the smoke
  69. //            velocity 10    // base velocity away from the surface
  70. //            randvelaxis random 4 0 0    // velocity offset
  71. //            offsetalongaxis 4 crandom 4 crandom 4    // positional offset
  72. ////            collision // turn on collision detection
  73. //            smokeparms 0 .8 0
  74. //        )
  75.     }
  76. }
  77.  
  78. // This section is just needed to be a valid tiki file
  79. animations
  80. {
  81.     idle dummy2.skc
  82. }